<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title>提交房源</title>
	<meta name="keywords" content="">
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<link rel="stylesheet" type="text/css" href="css/reset.css">
	<link rel="stylesheet" type="text/css" href="css/feedback.css">
	<link rel="stylesheet" type="text/css" href="css/submitHosue.css">
</head>
<body>
	<div id="layout">
		<header id="header">
	        <div id="topbar">
	            <a class="back" href="javascript:;"></a>
	        </div>
	    </header>
		<div id="gma-main" style="margin-top: .86rem;">
			<form action="" method="post">
				<div class="gma-plot">
					<label><span>小区名称</span><input id="cellName" type="text" name="villageName" value="" placeholder="请输入" maxlength="8"></label>
					<label><span>房屋地址</span><input id="houseAddress" type="text" name="houseAddress" value="" placeholder="请输入" maxlength="24"></label>
				</div>
				<div class="gma-plot">
					<div class="form-group clearfix">
						<span>户型</span>
						<p class="gma-stw">
							<select id="gma_room" name="houseTypeOne"></select><em>室</em>
							<select id="gma_office" name="houseTypeTwo"></select><em>厅</em>
							<select id="gma_toilet" name="houseTypeThree"></select><em>卫</em>
						</p>
					</div>
					<label><span>朝向</span>
						<p class="gma-select">
							<select name="houseOrientations" id="orientation"></select>
							<em></em>
						</p>	
					</label>
					<label><span>楼层</span><p><input id="gma_floor" style="width: 100%;" type="tel" pattern="[0-9]*" name="houseFloor" value="" placeholder="请输入当前楼层" maxlength="2" oninput="this.value=this.value.replace(/[^\d]/g,'')" onafterpaste="this.value=this.value.replace(/[^\d]/g,'')"></p></label>
					<label><span>总楼层</span><p><input id="gma_SumFloor" style="width: 100%;" type="tel" pattern="[0-9]*" name="houseFloorTotal" value="" placeholder="请输入总楼层数" maxlength="2" oninput="this.value=this.value.replace(/[^\d]/g,'')" onafterpaste="this.value=this.value.replace(/[^\d]/g,'')"></p></label>
					<label><span>建筑面积</span><p><input id="gma_houseArea" type="text" name="houseFloorArea" value="" maxlength="6" oninput="value=value.replace(/[^\d.]/g,'')"><i>m&sup2;</i></p></label>
					<label><span>报价</span><p><input id="gma_housePrice" type="text" name="quotePrice" value="" maxlength="7" oninput="value=value.replace(/[^\d.]/g,'')"><i>万元</i></p></label>
				</div>
				<div class="gma-plot">
					<label><span>装修</span>
						<p class="gma-select">
							<select name="decorationCondition" id="decorate"></select>
							<em></em>
						</p>
					</label>
					<label><span>类型</span>
						<p class="gma-select">
							<select name="houseType" id="houseType"></select>
							<em></em>
						</p>
					</label>
					<label><span>居住情况</span>
						<p class="gma-select">
							<select name="livingCondition" id="livingSituation"></select>
							<em></em>
						</p>
					</label>
				</div>
				<div class="gma-plot gma-textarea" style="margin:0;width:100%;padding-top:0;">
					<textarea id="gma_recommend" class="gma-value"  name="recommendedReason" placeholder="请输入推荐理由" maxlength="100" style="border-radius:0;"></textarea>
					<p class="gma-num"><span class="gma-counter">0</span>/<span>100</span></p>
				</div>
				<input id="photoHouse" type="hidden" name="housePhotos">
				<input id="token" type="hidden" name="token">
				<input id="agentId" type="hidden" name="id">
			</form>
			<p class="gma_uploadingPhoto">上传房源照片</p>
	        <ul id="gma_box">
			</ul>
	        <div class="gma_upload">
	        	<input id="upload" type="file" accept="image/*" name="">
	        </div>
	        <p id="notice" class="hide" style="margin:.4rem auto;"></p>
	        <p id="login-btn" class="gma-btn act-ago">立即提交</p>			
		</div>
		<!-- <div id="footer" class="fixed">
			<ul class="bottom">
				<li class="gma-footIcon1"><a href="submitHouse.html"><em class="chosen"></em><span>提交房源</span></a></li>
				<li class="gma-footIcon2"><a href="historySubmit.html"><em></em><span>历史提交</span></a></li>
				<li class="gma-footIcon3 "><a class="active" href="index.html"><em></em><span>我的</span></a></li>
			</ul>
		</div> -->
		<div id="gma-alert" class="gma_dialogHide">
			<p class="gma-content"><img src="img/Group14@2x.png" alt=""></p>
			<p class="gma-sure">恭喜您！提交成功</p>
		</div>
		<div id="gma-mask" class="gma_dialogHide"></div>
	</div>
</body>
<script type="text/javascript" src="plugins/jquery.min.js"></script>
<script type="text/javascript" src="plugins/touch.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript">
	common.goBackNext();
	var buryingKey=19406; 
    var buryingMsg='goldAgentH5'+window.location.pathname;
    var buryingUrl = "http://qd.innjia.com:8032/ch?key=" + buryingKey + "&url="+ (buryingMsg || "");
        $.get(buryingUrl);
</script>
<script type="text/javascript" src="js/baseInfoForm.js"></script>
<script type="text/javascript" src="js/submitHouse.js"></script>
</html>